import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
	mode: 'history',
	base: 'login',
	routes: [{
		path: '',
		component: () => import('./pages/index.vue'),
		children: [{
			path: '',
			name: 'login',
			component: () => import('./pages/login/login.vue'),
			meta: {
				title: '登录',
			}
		}]
	}]
})
